export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "select",
      "label": "车辆",
      "prop": "carNo",
      filterable: true,
      "span": 12,
      search: true,
      width: 120,
      dicUrl: '/act/car/page?size=-1&status=1',
      rules: [{
        required: true,
        message: '请选择车辆',
        trigger: 'change'
      }],
      props: {
        label: 'carNo',
        value: 'carNo',
        res: "data.records"
      }
    },	  {
      "type": "select",
      "label": "证件类型",
      "prop": "type",
      "span": 12,
      search: true,
      rules: [{
        required: true,
        message: '请选择证件类型',
        trigger: 'change'
      }],
      dicUrl: "/admin/dict/type/car_card_type"
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      "span": 12,
      maxlength: 120,
      search: true,
      rules: [{
        required: true,
        message: '请填写车辆名称',
        trigger: 'blur'
      }],
    },	  {
      "type": "input",
      "label": "单号",
      "prop": "no",
      "span": 12,
      maxlength: 60,
      search: true
    },	  {
      "type": "date",
      "label": "起始日期",
      "prop": "startDate",
      "span": 12,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
    },	  {
      "type": "date",
      "label": "过期日期",
      "prop": "endDate",
      "span": 12,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
    },	  {
      "type": "radio",
      "label": "状态",
      "prop": "status",
      "span": 12,
      value: '1',
      search: true,
      dicUrl: "/admin/dict/type/car_card_status"
    },	  {
      "type": "upload",
      "label": "附件",
      "prop": "attachment",
      accept: [],
      slot: true,
      formslot: true,
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      hide: true,
      "span": 24
    },	 {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      maxlength: 256,
      "span": 24
    },	  {
      "type": "input",
      "label": "经办人",
      "prop": "handleRealname",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "部门",
      "prop": "deptName",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    }]
}
